  /**
   * Generate time : 2016-04-07 11:22:27
   * Version : 1.0.1.V20070717
   */
package com.baosight.sczx.zm.cg.domain;

import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import java.util.HashMap;
import java.util.Map;
import com.baosight.iplat4j.util.StringUtils;
/**
 * ZMCGContactListFeedBack 
 * table comment : 业务联系单反馈记录 
 */
public class ZMCGContactListFeedBack extends DaoEPBase {

	private String fdKeyId = " ";		/* 主键*/
	private String fdContactListId = " ";		/* 联系单ID*/
	private String fdSendDepartId = " ";		/* 发送单位ID*/
	private String fdSendDepart = " ";		/* 反馈单位*/
	private String fdSendPerson = " ";		/* 发送人*/
	private String fdSendPersonId = " ";		/* 发送人ID*/
	private String fdContent = " ";		/* 工程内容*/
	private String fdSendTime = " ";		/* 发送时间*/
	private String fdModifyFlag = "0";		/* 修改状态*/
	private String fdModifyTime = " ";		/* 修改时间*/
	private String fdModifyPerson = " ";		/* 修改人*/
	/**
	 * initialize the metadata 
	 */
	public void initMetaData() {
		EiColumn eiColumn;
		
	eiColumn = new EiColumn("fdKeyId");
	eiColumn.setPrimaryKey(true);
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("主键");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdContactListId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("联系单ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdSendDepartId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("发送单位ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdSendDepart");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("反馈单位");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdSendPerson");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("发送人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdSendPersonId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("发送人ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdContent");
	eiColumn.setFieldLength(500);	
	eiColumn.setDescName("工程内容");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdSendTime");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("发送时间");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdModifyFlag");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("修改状态");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdModifyTime");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("修改时间");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdModifyPerson");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("修改人");
	eiMetadata.addMeta(eiColumn);
	

	}
	/**
	 * the constructor
	 */
	public ZMCGContactListFeedBack() {
		initMetaData();
	}
	
	/**
	 * get the fdKeyId - 主键
	 * @return the fdKeyId
	 */
	public String getFdKeyId() {
		return this.fdKeyId;
	}
	
	/**
	 * set the fdKeyId - 主键
	 */
	public void setFdKeyId(String fdKeyId) {
		this.fdKeyId = fdKeyId;
	}
	/**
	 * get the fdContactListId - 联系单ID
	 * @return the fdContactListId
	 */
	public String getFdContactListId() {
		return this.fdContactListId;
	}
	
	/**
	 * set the fdContactListId - 联系单ID
	 */
	public void setFdContactListId(String fdContactListId) {
		this.fdContactListId = fdContactListId;
	}
	/**
	 * get the fdSendDepartId - 发送单位ID
	 * @return the fdSendDepartId
	 */
	public String getFdSendDepartId() {
		return this.fdSendDepartId;
	}
	
	/**
	 * set the fdSendDepartId - 发送单位ID
	 */
	public void setFdSendDepartId(String fdSendDepartId) {
		this.fdSendDepartId = fdSendDepartId;
	}
	/**
	 * get the fdSendDepart - 反馈单位
	 * @return the fdSendDepart
	 */
	public String getFdSendDepart() {
		return this.fdSendDepart;
	}
	
	/**
	 * set the fdSendDepart - 反馈单位
	 */
	public void setFdSendDepart(String fdSendDepart) {
		this.fdSendDepart = fdSendDepart;
	}
	/**
	 * get the fdSendPerson - 发送人
	 * @return the fdSendPerson
	 */
	public String getFdSendPerson() {
		return this.fdSendPerson;
	}
	
	/**
	 * set the fdSendPerson - 发送人
	 */
	public void setFdSendPerson(String fdSendPerson) {
		this.fdSendPerson = fdSendPerson;
	}
	/**
	 * get the fdSendPersonId - 发送人ID
	 * @return the fdSendPersonId
	 */
	public String getFdSendPersonId() {
		return this.fdSendPersonId;
	}
	
	/**
	 * set the fdSendPersonId - 发送人ID
	 */
	public void setFdSendPersonId(String fdSendPersonId) {
		this.fdSendPersonId = fdSendPersonId;
	}
	/**
	 * get the fdContent - 工程内容
	 * @return the fdContent
	 */
	public String getFdContent() {
		return this.fdContent;
	}
	
	/**
	 * set the fdContent - 工程内容
	 */
	public void setFdContent(String fdContent) {
		this.fdContent = fdContent;
	}
	/**
	 * get the fdSendTime - 发送时间
	 * @return the fdSendTime
	 */
	public String getFdSendTime() {
		return this.fdSendTime;
	}
	
	/**
	 * set the fdSendTime - 发送时间
	 */
	public void setFdSendTime(String fdSendTime) {
		this.fdSendTime = fdSendTime;
	}
	/**
	 * get the fdModifyFlag - 修改状态
	 * @return the fdModifyFlag
	 */
	public String getFdModifyFlag() {
		return this.fdModifyFlag;
	}
	
	/**
	 * set the fdModifyFlag - 修改状态
	 */
	public void setFdModifyFlag(String fdModifyFlag) {
		this.fdModifyFlag = fdModifyFlag;
	}
	/**
	 * get the fdModifyTime - 修改时间
	 * @return the fdModifyTime
	 */
	public String getFdModifyTime() {
		return this.fdModifyTime;
	}
	
	/**
	 * set the fdModifyTime - 修改时间
	 */
	public void setFdModifyTime(String fdModifyTime) {
		this.fdModifyTime = fdModifyTime;
	}
	/**
	 * get the fdModifyPerson - 修改人
	 * @return the fdModifyPerson
	 */
	public String getFdModifyPerson() {
		return this.fdModifyPerson;
	}
	
	/**
	 * set the fdModifyPerson - 修改人
	 */
	public void setFdModifyPerson(String fdModifyPerson) {
		this.fdModifyPerson = fdModifyPerson;
	}
	/**
	 * get the value from Map
	 */
	public void fromMap(Map map) {
	
		setFdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKeyId")), fdKeyId));
		setFdContactListId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdContactListId")), fdContactListId));
		setFdSendDepartId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdSendDepartId")), fdSendDepartId));
		setFdSendDepart(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdSendDepart")), fdSendDepart));
		setFdSendPerson(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdSendPerson")), fdSendPerson));
		setFdSendPersonId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdSendPersonId")), fdSendPersonId));
		setFdContent(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdContent")), fdContent));
		setFdSendTime(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdSendTime")), fdSendTime));
		setFdModifyFlag(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdModifyFlag")), fdModifyFlag));
		setFdModifyTime(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdModifyTime")), fdModifyTime));
		setFdModifyPerson(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdModifyPerson")), fdModifyPerson));
	}
	
	/**
	 * set the value to Map
	 */
	public Map toMap() {
		
		Map map = new HashMap();
			map.put("fdKeyId",StringUtils.toString(fdKeyId, eiMetadata.getMeta("fdKeyId")));	
			map.put("fdContactListId",StringUtils.toString(fdContactListId, eiMetadata.getMeta("fdContactListId")));	
			map.put("fdSendDepartId",StringUtils.toString(fdSendDepartId, eiMetadata.getMeta("fdSendDepartId")));	
			map.put("fdSendDepart",StringUtils.toString(fdSendDepart, eiMetadata.getMeta("fdSendDepart")));	
			map.put("fdSendPerson",StringUtils.toString(fdSendPerson, eiMetadata.getMeta("fdSendPerson")));	
			map.put("fdSendPersonId",StringUtils.toString(fdSendPersonId, eiMetadata.getMeta("fdSendPersonId")));	
			map.put("fdContent",StringUtils.toString(fdContent, eiMetadata.getMeta("fdContent")));	
			map.put("fdSendTime",StringUtils.toString(fdSendTime, eiMetadata.getMeta("fdSendTime")));	
			map.put("fdModifyFlag",StringUtils.toString(fdModifyFlag, eiMetadata.getMeta("fdModifyFlag")));	
			map.put("fdModifyTime",StringUtils.toString(fdModifyTime, eiMetadata.getMeta("fdModifyTime")));	
			map.put("fdModifyPerson",StringUtils.toString(fdModifyPerson, eiMetadata.getMeta("fdModifyPerson")));	
			
		return map;
	
	}
}